---
layout: default
permalink: /blog/archives/
---

<section id="archive">
  <h2>This year's posts</h2>

  {% for post in site.posts %}
  {% unless post.next %}
  <ul>
  {% else %}
  {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
  {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
  {% if year != nyear %}
  </ul>
  <h2>{{ post.date | date: '%Y' }}</h2>
  <ul>
  {% endif %}
  {% endunless %}
    <li style="list-style-type:none;"><time>{{ post.date | date: "%m-%d" }}</time>&nbsp;<a href="{{ post.url }}">{{ post.title }}</a></li>
  {% endfor %}
  </ul>
</section>

